package com.chb.microservice.provider.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(name = "cbh-provider-wxmicroservice")
public interface WxMicroFeignClient {

	@RequestMapping(value = "v1/Wx/small_routine", method = RequestMethod.POST)
	public Object findByParatemer(@RequestParam(value = "code", required = true) String code);

	@RequestMapping(value = "v1/Wx/openidGetThing", method = RequestMethod.POST)
	public Object openidGet(@RequestParam(value = "type", required = true) String type, // 1,安卓；0,IOS
			@RequestParam(value = "openId", required = true) String openId,
			@RequestParam(value = "ucode", required = true) String ucode);
}
